@extends('layouts.header')
@section('content')
     {{--@foreach($topics as $topic)
        <h2><a href="{{ route('show_topic',['top'=>$topic->id]) }} " title="Show topic">{{$topic->title}}</a></h2>
        <h5>posts_number({{$topic->posts_number}}) / created in: {{$topic->created_at}} / last update: {{$topic->updated_at}} </h5>
        <hr/>
        <br />
    @endforeach--}}
	@foreach($posts as $post)
		<h2><a href="{{ route('show_post',['sub'=>$post->subwroteit, 'post_id' => $post->post_id_string]) }} " title="Show post">{{$post->title}}</a></h2>
		<br><br>
	@endforeach
@endsection()
